
import java.util.Vector;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author dego
 */

import DataStructures.*;

public class Wrapper2 implements WordSet {
    
    
	private AvlTree datos;

    public Wrapper2(){
        
        datos = new AvlTree();
        
    }
    
        
    public void add(Word wordObject)
    {
        datos.insert(wordObject);
    }


    public Word get(Word word)
	{
		return (Word) datos.find(word);
	}
	
    
}
